package com.weic.service;

import com.weic.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;

    public int addUser(String id, String name) {
        System.out.println("UserServiceImpl.addUser ... ...");
        return userDao.addUser(id,name);
    }
}
